package com.kingyun.gpsinspection.purificationservice.facade.model.tdm;

import com.kingyun.gpsinspection.purificationservice.facade.model.BootstrapSearchBean;

import java.io.Serializable;

/**
 * 任务依赖关系
 */
public class TaskRelation extends BootstrapSearchBean implements Serializable {
    //任务依赖关系ID
    private String taskRelationId;
    //主任务ID
    private String masterTaskId;
    //主任务类型
    private Short masterTaskType;
    //关联任务ID
    private String relatedTaskId;
    //关联任务类型
    private Short relatedTaskType;

    public String getTaskRelationId() {
        return taskRelationId;
    }

    public void setTaskRelationId(String taskRelationId) {
        this.taskRelationId = taskRelationId;
    }

    public String getMasterTaskId() {
        return masterTaskId;
    }

    public void setMasterTaskId(String masterTaskId) {
        this.masterTaskId = masterTaskId == null ? null : masterTaskId.trim();
    }

    public Short getMasterTaskType() {
        return masterTaskType;
    }

    public void setMasterTaskType(Short masterTaskType) {
        this.masterTaskType = masterTaskType;
    }

    public String getRelatedTaskId() {
        return relatedTaskId;
    }

    public void setRelatedTaskId(String relatedTaskId) {
        this.relatedTaskId = relatedTaskId == null ? null : relatedTaskId.trim();
    }

    public Short getRelatedTaskType() {
        return relatedTaskType;
    }

    public void setRelatedTaskType(Short relatedTaskType) {
        this.relatedTaskType = relatedTaskType;
    }
}